package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.Answer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 问题回答 Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-03-24
 */
public interface AnswerMapper extends BaseMapper<Answer> {
    boolean deleteById(String id);
    Answer getById(String id);
    List<Answer> getAnswersByQuestionId(String id);
}
